package com.oschina.wed.dal.entity;

import java.io.Serializable;
import java.util.Date;

public class AccountVoucherFlow extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -2229724926629710463L;

    private Long voucherNo;
    /**
     * 账户编码
     */
    private Long accountNo;
    /**
     * 资金流动方向
     * @see com.oschina.wed.common.enums.VoucherFlowDirectionEnum
     */
    private Integer accountDirection;
    /**
     * 交易前余额
     */
    private Long beforeAmount;
    /**
     * 交易金额
     */
    private Long amount;
    /**
     * 交易后余额
     */
    private Long afterAmount;
    /**
     * 支付时间
     */
    private Date payDate;
    /**
     * 是否已统计
     */
    private Integer isStatics;

    public Long getVoucherNo() {
        return voucherNo;
    }

    public void setVoucherNo(Long voucherNo) {
        this.voucherNo = voucherNo;
    }

    public Long getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(Long accountNo) {
        this.accountNo = accountNo;
    }

    public Integer getAccountDirection() {
        return accountDirection;
    }

    public void setAccountDirection(Integer accountDirection) {
        this.accountDirection = accountDirection;
    }

    public Long getBeforeAmount() {
        return beforeAmount;
    }

    public void setBeforeAmount(Long beforeAmount) {
        this.beforeAmount = beforeAmount;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public Long getAfterAmount() {
        return afterAmount;
    }

    public void setAfterAmount(Long afterAmount) {
        this.afterAmount = afterAmount;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public Integer getIsStatics() {
        return isStatics;
    }

    public void setIsStatics(Integer isStatics) {
        this.isStatics = isStatics;
    }

    @Override
    public String toString() {
        return "AccountVoucherFlow{" +
                "voucherNo=" + voucherNo +
                ", accountNo=" + accountNo +
                ", accountDirection=" + accountDirection +
                ", beforeAmount=" + beforeAmount +
                ", amount=" + amount +
                ", afterAmount=" + afterAmount +
                ", payDate=" + payDate +
                ", isStatics=" + isStatics +
                '}';
    }
}
